<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>OA管理系统</title>
 {cssjs}
 <link href="/res/css/login.css" rel="stylesheet" />
 <script src="/widget/layui/layui.js"></script>
 <style type="text/css">
    html,
    body {
        height: 100%;
    }

    body>.layui-main {
        height: 100%;
        width: 100%;
    }
</style>
</head>

<body>
 <div class="layui-main">
<div class="x-top x-bg">
    <div class="layui-main"><a href="#"><strong class="x-text-white">OA管理系统</strong></a></div>
</div>
<form method="post" id="form1" name="form1" class="layui-form" style="width:500px;height:300px;position:absolute;top:50%;left:50%;margin-left:-250px;margin-top:-150px;">
<h1 class="x-h1">用户登录</h1>
<div class="layui-form-item layui-form-pane">
        <label class="layui-form-label">用户名：</label>
        <div class="layui-input-block">
            <input type="text" class="layui-input" id="username" name="username" placeholder="请输入你的用户名 / 邮箱 / 手机号码" autocomplete="on" />
        </div>
    </div>
    <div class="layui-form-item layui-form-pane">
        <label class="layui-form-label">密&nbsp;码：</label>
        <div class="layui-input-block">
            <input type="password" class="layui-input" id="password" name="password" placeholder="请输入密码" lay-verify="password" autocomplete="on" />
        </div>
    </div>
    <input type="hidden" name="__token__" value="CWjLIl" />    <div class="layui-form-item x-center">
        <input class="layui-btn x-layout" lay-submit lay-filter="login" id="btnLogin" value="登录" type="button"/>
    </div>
    <div class="layui-form-item">
        <div class="x-left">
            没有账号？ <a id="reg" url="#">点击注册</a>
        </div>
        <div class="x-right">
            忘记密码？ <a id="get" url="#">点击找回</a>
        </div>
    </div>
</form>

 </div>
    {jsmodel}
    <script type="text/javascript">
        layui.use('login');
    </script>
</body>
</html>
